 import std.stdio;
 import std.bitmanip;
 import std.digest.digest;

 
 enum uint type = 65535;
 
 void main()
 {
    ubyte[4] udt = nativeToBigEndian(type);
    writeln("65535 as nativeToBigEndian : ", udt);
    uint uy  = bigEndianToNative!(uint)(udt);
    writeln("uy = : ", uy);
    
    writeln("conver -888 :");
    short ts = -888;
    ubyte[2]  tsvale = nativeToBigEndian(ts);
    writeln(tsvale);
    writeln(toHexString(tsvale));
 }
